@import '@/assets/styles/theme.scss';
.pui-theme {
    .folder-Browser {
        .pui-dialog {
            z-index: 1001;
            .pui-dialog_content {
                border: 0;
                .pui-dialog_header {
                    box-sizing: border-box;
                    border-bottom: 1px solid $border-light_light;
                    position: relative;
                    z-index: 2;
                }
                .pui-dialog_footer {
                    box-sizing: border-box;
                    border-top: 1px solid $border-light_light;
                    justify-content: space-between;
                }
                .pui-dialog_container {
                    margin-top: -1px;
                    padding: 0;
                    .folder-content {
                        display: flex;
                        justify-content: flex-start;
                        align-items: flex-start;
                        height: 182px;
                        overflow: auto;
                        .folder-aside {
                            height: 100%;
                            width: 132px;
                            flex-shrink: 0;
                            border-right: 1px solid $border-light_light;
                            overflow-y: auto;
                            .folder-list {
                                .folder-item {
                                    height: 30px;
                                    display: flex;
                                    justify-content: flex-start;
                                    align-items: center;
                                    cursor: pointer;
                                    padding-left: 20px;
                                    &.active-item {
                                        background-color: $primary-fill;
                                        color: #fff;
                                    }
                                    .pui-icon {
                                        font-size: 16px!important;
                                        padding-right: 5px;
                                    }
                                    &:hover {
                                        background-color: $primary-fill;
                                        color: #fff;
                                    }
                                }
                            }
                        }
                        .folder {
                            flex: 1;
                            height: 100%;
                            position: relative;
                            box-sizing: border-box;
                            overflow-y: auto;
                            p {
                                position: sticky;
                                top: 0px;
                                left: 0;
                                width: 100%;
                                background: #fff;
                                z-index: 1;
                                height: 30px;
                                display: flex;
                                justify-content: flex-start;
                                align-items: center;
                                box-sizing: border-box;
                                padding-left: 20px;
                            }
                            .folder-list {
                                .folder-item {
                                    height: 30px;
                                    display: flex;
                                    justify-content: flex-start;
                                    align-items: center;
                                    box-sizing: border-box;
                                    padding-left: 20px;
                                    cursor: pointer;
                                    &.active-item {
                                        background-color: $primary-fill;
                                        color: #fff;
                                    }
                                    .pui-icon {
                                        font-size: 16px!important;
                                        padding-right: 5px;
                                    }
                                    &:hover {
                                        background-color: $primary-fill;
                                        color: #fff;
                                    }
                                }
                                .nodata {
                                    height: 30px;
                                    text-align: center;
                                    line-height: 30px;
                                    color: $text-sub_light;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    .table-content {
        .pui-dialog {
            z-index: 1000;
            .pui-dialog_content {
                border: 0;
                .pui-dialog_header {
                    box-sizing: border-box;
                    position: relative;
                    z-index: 2;
                }
                .pui-dialog_footer {
                    box-sizing: border-box;
                }
                .pui-dialog_container {
                    margin-top: -1px;
                    .list {
                        max-height: 320px;
                        overflow-y: auto;
                        border: 1px solid #DCDFE6;
                        border-radius: 4px;
                        .item {
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                            background: #FAFAFA;
                            height: 32px;
                            padding: 0 30px;
                            box-sizing: border-box;
                            span {
                                box-sizing: border-box;
                                flex-shrink: 0;
                                &.index {
                                    flex: 1;
                                }
                                &.name {
                                    flex: 3;
                                }
                                &.value {
                                    flex: 1.2;
                                }
                                &.unit {
                                    flex: 0.5;
                                }
                                &.mark {
                                    flex: 1.2;
                                }
                            }
                            &:nth-child(2n+2) {
                                background: #FFF;
                            }
                            &.list-head {
                                background-color: #F2F3F5;
                                border-bottom: 1px solid #DCDFE6;
                                position: sticky;
                                top: 0;
                            }
                        }
                    }
                }
            }
        }
        &.environment-variables {
            .pui-dialog {
                .pui-dialog_content {
                    .pui-dialog_container {
                        .list {
                            .item {
                                span {
                                    &.name,&.value {
                                        flex: 2;
                                    }
                                    .pui-input {
                                        outline: none;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        &.task-management {
            .task-management_content {
                display: flex;
                justify-content: flex-start;
                align-items: flex-start;
                .list {
                    flex: 1;
                    margin-right: 10px;
                    .item {
                        &:not(.list-head) {
                            &:hover {
                                background-color: $primary-fill!important;
                                cursor: pointer;
                            }
                        }
                        span {
                            flex-shrink: 0;
                            &.index {
                                flex: 0.5!important;
                            }
                            &.engine {
                                flex: 1;
                            }
                            &.name {
                                flex: 1!important;
                            }
                            &.status {
                                flex: 1;
                            }
                            &.path {
                                flex: 2;
                            }
                        }
                    }
                }
                .control {
                    width: 100px;
                    flex-shrink: 0;
                    .control_title {
                        font-size: 16px;
                        padding-bottom: 10px;
                    }
                    .pui-btn {
                        margin-bottom: 10px;
                        margin-left: 0;
                    }
                }
            }
        }
        &.material-manager {
            .material-manager_content {
                .top {
                    margin: 0 auto;
                    padding: 15px 20px 0 20px;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
        
                    .left {
                        width: 318px;
                        flex-shrink: 0;
                        .title {
                            font-size: 12px;
                            margin-bottom: 5px;
                        }
                        .table-container {
                            border: 1px solid #ddd;
                            border-radius: 4px;
                            height: 309px;
                            overflow-y: auto;
                            box-sizing: border-box;
                            .thead {
                                display: flex;
                                justify-content: space-between;
                                align-items: center;
                                height: 30px;
                                background-color: #F5F7FA;
                                position: sticky;
                                top: 0;
                                box-sizing: border-box;
                                border-bottom: 1px solid #ddd;
                            }
                            .nodata {
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                height: 30px;
                                font-size: 12px;
                                width: 100%;
                            }
                            .td {
                                display: flex;
                                justify-content: space-between;
                                align-items: center;
                                height: 30px;
                                width: 100%;
                                box-sizing: border-box;
                                cursor: pointer;
                                &.active {
                                    background-color: #ECF2FE;
                                    div {
                                        .pui-input {
                                            background: #fff;
                                        }
                                    }
                                }
                                &:hover {
                                    background-color: #ECF2FE;
                                }
                                span {
                                    border: none;
                                }
                            }
                            div {
                                font-size: 12px;
                                text-align: left;
                                padding-left: 10px;
                                box-sizing: border-box;
                                flex-shrink: 0;
                                height: 100%;
                                display: flex;
                                justify-content: flex-start;
                                align-items: center;
                                &:last-child {
                                    border: none;
                                }
                                &.index {
                                    width: 66px;
                                }
                                &.name {
                                    width: 108px;
                                }
                                &.color {
                                    width: 144px;
                                }
                                .pui-input {
                                    width: 100px;
                                    outline: none;
                                    height: 100%;
                                }
                            }
                        }
                    }
                    .center {
                        flex-shrink: 0;
                        margin: 0 12px;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        flex-direction: column;
                        .pui-btn {
                            margin: 0;
                        }
                    }
                    .right {
                        flex: 1;
                        .title {
                            font-size: 12px;
                            margin-bottom: 5px;
                        }
                        .table-container {
                            border: 1px solid #ddd;
                            border-radius: 4px;
                            height: 309px;
                            overflow-y: auto;
                            box-sizing: border-box;
                            .thead {
                                display: flex;
                                justify-content: space-between;
                                align-items: center;
                                height: 30px;
                                background-color: #F5F7FA;
                                position: sticky;
                                top: 0;
                                box-sizing: border-box;
                                border-bottom: 1px solid #ddd;
                            }
                            .nodata {
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                height: 30px;
                                font-size: 12px;
                                width: 100%;
                            }
                            .td {
                                display: flex;
                                justify-content: space-between;
                                align-items: center;
                                height: 30px;
                                box-sizing: border-box;
                                cursor: pointer;
                                &.active {
                                    background-color: #ECF2FE;
                                    div {
                                        .pui-input {
                                            background: #fff;
                                        }
                                    }
                                }
                                &:hover {
                                    background-color: #ECF2FE;
                                }
                                span {
                                    border: none;
                                }
                            }
                            div {
                                font-size: 12px;
                                text-align: left;
                                padding-left: 10px;
                                box-sizing: border-box;
                                flex-shrink: 0;
                                height: 100%;
                                display: flex;
                                justify-content: flex-start;
                                align-items: center;
                                &.index {
                                    width: 57px;
                                }
                                &.length {
                                    flex: 1;
                                }
                                &.re,&.im {
                                    width: 110px;
                                }
                                .pui-input {
                                    width: 100px;
                                    outline: none;
                                }
                            }
                        }
                    }
                    .btn-box {
                        margin-top: 10px;
                    }
                }
            }
        }
        &.parameter-editor {
            .info {
                display: flex;
                align-items: flex-start;
                justify-content: flex-start;
                margin-bottom: 16px;
                height: 102px;
                .left {
                    width: 102px;
                    height: 100%;
                    margin-right: 20px;
                    flex-shrink: 0;
                    .img {
                        width: 100%;
                        height: 100%;
                        border-radius: 6px;
                        overflow: hidden;
                        border: 1px solid #DCDFE6;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        img {
                            width: 80%;
                        }
                    }
                }
                .center {
                    flex: 1;
                    box-sizing: border-box;
                    margin-right: 20px;
                    height: 100%;
                    .value-item {
                        display: flex;
                        align-items: center;
                        justify-content: flex-start;
                        box-sizing: border-box;
                        &:not(:last-child) {
                            margin-bottom: 6px;
                        }
                        .label {
                            width: 30px;
                            flex-shrink: 0;
                        }
                        .pui-input {
                            flex: 1;
                            outline: none;
                        }
                    }
                }
                .right {
                    box-sizing: border-box;
                    flex-shrink: 0;
                    width: 400px;
                    height: 100%;
                    display: flex;
                    align-items: flex-start;
                    justify-content: flex-start;
                    flex-direction: column;
                    .label {
                        margin-bottom: 10px;
                        height: 12px;
                    }
                    .textarea {
                        flex: 1;
                        box-sizing: border-box;
                        width: 100%;
                        border-radius: 6px;
                        border: 1px solid #DCDFE6;
                        textarea {
                            box-sizing: border-box;
                            border-radius: 6px;
                            height: 100%;
                            width: 100%;
                            outline: none;
                            border: none;
                            text-align: start;
                            resize: none;
                            padding: 10px;
                        }
                    }
                }
            }
            .list {
                .item {
                    span {
                        flex: 1!important;
                        flex-shrink: 0;
                        &.name {
                            flex: 1.5!important;
                        }
                        &.value {
                            flex: 2!important;
                        }
                        &.unit {
                            flex: 0.5!important;
                        }
                        .pui-input {
                            width: 100%;
                        }
                    }
                }
                .category-list {
                    .category-item {
                        .title {
                            font-size: 14px;
                            color: $primary;
                            padding: 10px 30px;
                        }
                    }
                }
            }
        }
        &.setting {
            .pui-dialog {
                .pui-dialog_content {
                    height: 502px;
                    width: 738px;
                    .pui-dialog_container {
                        padding: 0;
                        position: relative;
                        height: 100%;
                        margin-top: 0;
                        .flex-box {
                            position: absolute;
                            top: 0;
                            left: 0;
                            right: 0;
                            bottom: 0;
                            display: flex;
                            justify-content: flex-start;
                            align-items: flex-start;
                            box-sizing: border-box;
                            .table-content__left {
                                height: 100%;
                                flex-shrink: 0;
                                width: 120px;
                                background: $bg-tool_light;
                                .title {
                                    padding: 16px 0 26px 22px;
                                    font-size: 14px;
                                }
                                .tab-menu {
                                    .tab-menu-item {
                                        height: 32px;
                                        padding-left: 22px;
                                        line-height: 32px;
                                        cursor: pointer;
                                        position: relative;
                                        &:hover {
                                            background: #fff;
                                        }
                                        &.active-item {
                                            background: #fff;
                                            &::before {
                                                position: absolute;
                                                top: 0;
                                                left: 0;
                                                height: 100%;
                                                content: '';
                                                width: 2px;
                                                background-color: $primary-fill;
                                            }
                                        }
                                    }
                                }
                            }
                            .table-content__right {
                                flex: 1;
                                padding: 30px 23px 16px 20px;
                                height: 100%;
                                box-sizing: border-box;
                                position: relative;
                                .close {
                                    position: absolute;
                                    top: 15px;
                                    right: 15px;
                                    .pui-icon {
                                        font-size: 18px;
                                        cursor: pointer;
                                        &:hover {
                                            color: $text-place_light;
                                        }
                                    }
                                }
                                .tab-container {
                                    height: 100%;
                                    .tab-item {
                                        .form-item {
                                            &+.form-item {
                                                margin-top: 20px;
                                            }
                                            .label {
                                                margin-bottom: 12px;
                                            }
                                            .content {
                                                display: flex;
                                                align-items: center;
                                                justify-content: flex-start;
                                            }
                                            .server-text {
                                                font-size: 12px;
                                                color: $text-sub_light;
                                                margin-top: 5px;
                                                &.error {
                                                    color: $danger;
                                                }
                                                &.success {
                                                    color: $success
                                                }
                                            }
                                        }
                                    }
                                }
                                .__btn-box {
                                    position: absolute;
                                    bottom: 15px;
                                    right: 15px;
                                }
                            }
                        }
                    }
                }
            }
        }
        &.schcema-parser {
            .pui-dialog {
                .pui-dialog_content {
                    box-sizing: border-box;
                    .pui-dialog_container {
                        box-sizing: border-box;
                        .content {
                            min-width: 0;
                            box-sizing: border-box;
                            display: flex;
                            justify-content: space-between;
                            align-items: flex-start;
                            .schcema, .analyzer {
                                flex: 1;
                                box-sizing: border-box;
                                flex-shrink: 0;
                                .title {
                                    margin-bottom: 10px;
                                }
                                .list, .calc-parameter, .form, .analyze {
                                    height: 210px;
                                    border-radius: 4px;
                                    border: 1px solid $border-deep_light;
                                    box-sizing: border-box;
                                }
                            }
                            .schcema {
                                flex-shrink: 0;
                                margin-right: 10px;
                            }
                            .analyze {
                                flex-shrink: 0;
                                display: flex;
                                align-items: flex-start;
                                justify-content: flex-start;
                                flex-direction: column;
                                .pic {
                                    flex: 1;
                                    width: 100%;
                                    overflow: hidden;
                                    img {
                                        width: 100%;
                                    }
                                }
                                .form {
                                    height: 75px;
                                    width: 100%;
                                    border: none;
                                    margin-bottom: 0;
                                    .form-item {
                                        .pui-selector {
                                            flex: 1;
                                            margin-right: 0px;
                                        }
                                    }
                                }
                            }
                            .form {
                                margin-bottom: 10px;
                                padding: 10px;
                                .form-item {
                                    display: flex;
                                    justify-content: flex-start;
                                    align-items: center;
                                    &+.form-item {
                                        margin-top: 8px;
                                    }
                                    .label {
                                        width: 80px;
                                        flex-shrink: 0;
                                    }
                                    .pui-input {
                                        min-width: 0;
                                        min-height: 0;
                                        height: 24px;
                                        flex: 1;
                                        outline: none;
                                    }
                                    .pui-selector {
                                        flex: 1;
                                        margin-right: 5px;
                                        .pui-popper {
                                            display: flex;
                                            justify-content: center;
                                            align-items: center;
                                            width: 100%;
                                            .inline-block {
                                                width: 100%;
                                                >div {
                                                    font-size: 0px!important;
                                                }
                                            }
                                            .popper {
                                                // width: 100%;
                                            }
                                            .pui-selector_text {
                                                min-height: 0;
                                                min-width: 0;
                                                height: 24px;
                                            }
                                        }
                                    }
                                }
                                .btn {
                                    margin-top: 10px;
                                    display: flex;
                                    justify-content: flex-end;
                                }
                            }
                            .list {
                                margin-bottom: 10px;
                                .index {
                                    flex: 1;
                                    flex-shrink: 0;
                                }
                                .refractiveIndex {
                                    flex: 3;
                                    flex-shrink: 0;
                                }
                                .wavelength {
                                    flex: 2;
                                    flex-shrink: 0;
                                }
                                .list-head {
                                    padding: 0 10px;
                                }
                                .item {
                                    padding: 0 10px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    &__dark {
        .folder-Browser {
            .pui-dialog {
                .pui-dialog_content {
                    .pui-dialog_header {
                        border-bottom: 1px solid $border-light_dark;
                    }
                    .pui-dialog_footer {
                        border-top: 1px solid $border-light_dark;
                    }
                    .pui-dialog_container {
                        .folder-content {
                            .folder-aside {
                                border-right: 1px solid $border-light_dark;
                                .folder-list {
                                    .folder-item {
                                        &.active-item {
                                            background-color: $bg-selected_dark;
                                            color: $primary-fill;
                                        }
                                        &:hover {
                                            background-color: $bg-selected_dark;
                                            color: $primary-fill;
                                        }
                                    }
                                }
                            }
                            .folder {
                                p {
                                    background: $bg-home_dark;
                                    color: $text_dark;
                                }
                                .folder-list {
                                    .folder-item {
                                        &.active-item {
                                            background-color: $bg-selected_dark;
                                            color: $primary-fill;
                                        }
                                        &:hover {
                                            background-color: $bg-selected_dark;
                                            color: $primary-fill;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        .table-content {
            &.setting {
                .pui-dialog {
                    .pui-dialog_content {
                        .pui-dialog_container {
                            .flex-box {
                                .table-content__left {
                                    background: $bg-tool_dark;
                                    .title {
                                    }
                                    .tab-menu {
                                        .tab-menu-item {
                                            &:hover {
                                                background: $bg-selected_dark;
                                            }
                                            &.active-item {
                                                background: $bg-selected_dark;
                                                &::before {
                                                    background-color: #fff;
                                                }
                                            }
                                        }
                                    }
                                }
                                .table-content__right {
                                    .close {
                                        .pui-icon {
                                            &:hover {
                                            }
                                        }
                                    }
                                    .tab-container {
                                        .tab-item {
                                            .form-item {
                                                &+.form-item {
                                                }
                                                .label {
                                                }
                                                .content {
                                                }
                                            }
                                            .pui-input {
                                                color: $text_dark;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        .file-info {
            .form {
                .form-item {
                    .label {
                        color: $text-font_dark!important;
                    }
                }
            }
            &.new-grid {
                .grid-form {
                    .tip {
                        span {
                            color: $text-font_dark;
                            &:hover {
                                color: $text-sub_dark;
                            }
                        }
                    }
                    .device-area {
                        .area-item {
                            .form-item {
                                .pui-input {
                                    color: $text_dark;
                                }
                            }
                        }
                    }
                }
            }
            &.material-custom {
                .pui-dialog {
                    .pui-dialog_content {
                        .pui-dialog_container {
                            .content {
                                .title {
                                }
                                .growth {
                                    .form {
                                        border: 1px solid $border-light_dark;
                                        .form-item {
                                            .custom-text {
                                                border: 1px solid $border-light_dark;
                                            }
                                        }
                                    }
                                }
                                .base {
                                    .form {
                                        border: 1px solid $border-light_dark;
                                        .form-item {
                                            .list {
                                                border: 1px solid $border-light_dark;
                                                .item {
                                                    &:nth-child(2n-1) {
                                                        background: $bg-tool_dark;
                                                        span {
                                                            color: $text-font_light;
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    .file-info {
        &.new-graph, &.new-grid {
            .form {
                .form-item {
                    .select-content {
                        width: 100%!important;
                        display: flex;
                        justify-content: flex-start;
                        align-items: center;
                        .pui-input {
                            flex: 1;
                            &.input {
                                outline: none;
                            }
                        }
                        .pui-selector {
                            width: 80px;
                            margin-left: 10px;
                            .pui-selector_text {
                                min-width: 80px!important;
                            }
                        }
                    }
                }
            }
        }
        &.new-directory {
            .pui-dialog {
                z-index: 1002;
            }
        }
        &.add-material {
            .form {
                .form-item {
                    .color-box {
                        display: flex;
                        justify-content: flex-start;
                        align-items: center;
                        .pui-popper {
                            .inline-block {
                                div {
                                    .color-button {
                                        width: 100px!important;
                                        height: 30px!important;
                                        margin: 0!important;
                                    }
                                }
                            }
                        }
                        .color-text {
                            font-size: 12px;
                            margin-left: 10px;
                        }
                    }
                }
            }
        }
        &.new-grid {
            .form {
                .form-item {
                    .pui-input {
                        width: 100%!important;
                        outline: none;
                    }
                }
            }
            .grid-form {
                .title {
                    color: $primary;
                    font-size: 12px;
                    padding: 5px 0;
                    font-weight: 700;
                }
                .tip {
                    padding-top: 10px;
                    text-align: right;
                    span {
                        font-size: 12px;
                        cursor: pointer;
                        color: $primary;
                        &:hover {
                            color: $primary-fill;
                        }
                    }
                }
                .device-area {
                    .area-item {
                        display: flex;
                        justify-content: flex-start;
                        align-items: flex-start;
                        margin-bottom: 10px;
                        .form-item {
                            width: 33.3%;
                            &.flex {
                                width: 100%;
                                display: flex;
                                justify-content: flex-start;
                                align-items: center;
                                .label {
                                    font-size: 12px;
                                    font-weight: 700;
                                    margin-right: 10px;
                                }
                            }
                            .label {
                                margin-bottom: 2px;
                            }
                            .pui-input {
                                width: 80%;
                                outline: none;
                            }
                            .content {
                                width: 80%;
                                display: flex;
                                justify-content: space-between;
                                align-items: center;
                                box-sizing: border-box;
                                .pui-input {
                                    flex: 1;
                                    &+.pui-input {
                                        margin-left: 5px;
                                    }
                                }
                            }
                            &.option {
                                margin-top: 15px;
                            }
                        }
                    }
                }
            }
        }
        &.material-library {
            .form {
                .form-item {
                    .pui-selector {
                        width: 100%;
                        .inline-block {
                            width: 100%;
                        }
                    }
                }
            }
        }
        &.material-custom {
            .pui-dialog {
                .pui-dialog_content {
                    width: 558px;
                    .pui-dialog_container {
                        padding: 0;
                        position: relative;
                        height: 100%;
                        margin-top: 0;
                        .content {
                            display: flex;
                            justify-content: space-between;
                            align-items: flex-start;
                            padding: 0px 22px;
                            box-sizing: border-box;
                            .title {
                                font-size: 12px;
                                margin-bottom: 10px;
                            }
                            .growth {
                                width: 254px;
                                box-sizing: border-box;
                                .form {
                                    border: 1px solid $border-light;
                                    border-radius: 4px;
                                    padding: 18px 12px;
                                    box-sizing: border-box;
                                    .form-item {
                                        .label {
                                            margin-bottom: 10px;
                                        }
                                        .custom-text {
                                            border: 1px solid $border-light;
                                            border-radius: 4px;
                                            padding: 18px 12px;
                                            box-sizing: border-box;
                                            height: 97px;
                                            overflow-y: auto;
                                        }
                                    }
                                }
                            }
                            .base {
                                width: 254px;
                                box-sizing: border-box;
                                .form {
                                    border: 1px solid $border-light;
                                    border-radius: 4px;
                                    padding: 18px 12px;
                                    box-sizing: border-box;
                                    .form-item {
                                        .list {
                                            border: 1px solid $border-light;
                                            border-radius: 4px;
                                            box-sizing: border-box;
                                            height: 235px;
                                            overflow-y: auto;
                                            .item {
                                                display: flex;
                                                align-items: center;
                                                justify-content: flex-start;
                                                box-sizing: border-box;
                                                padding: 5px;
                                                &:nth-child(2n-1) {
                                                    background-color: $bg-tool_light;
                                                }
                                                .name {
                                                    flex: 2;
                                                }
                                                .value {
                                                    flex: 1;
                                                    text-align: right;
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        &.quantum-well {
            .pui-dialog {
                .pui-dialog_content {
                    width: 459px;
                    .pui-dialog_container {
                        padding: 0;
                        position: relative;
                        margin-top: 0;
                        .content {
                            display: flex;
                            justify-content: space-between;
                            align-items: flex-start;
                            padding: 0px 16px;
                            box-sizing: border-box;
                            .bold {
                                font-weight: 700;
                            }
                            .structure-tree {
                                width: 155px;
                                box-sizing: border-box;
                                height: 380px;
                                .form {
                                    border: 1px solid $border-light;
                                    border-radius: 4px;
                                    padding: 18px 12px;
                                    box-sizing: border-box;
                                    height: 100%;
                                }
                            }
                            .structure {
                                width: 254px;
                                box-sizing: border-box;
                                .btn-box {
                                    margin-bottom: 10px;
                                    display: flex;
                                    justify-content: space-between;
                                    align-items: center;
                                    .pui-btn {
                                        width: 70px;
                                        margin: 0;
                                    }
                                }
                                .form {
                                    border: 1px solid $border-light;
                                    border-radius: 4px;
                                    padding: 18px 12px;
                                    box-sizing: border-box;
                                    height: 336px;
                                    .form-item {
                                        display: flex;
                                        align-items: center;
                                        justify-content: space-between;
                                        margin-bottom: 12px;
                                        .label {
                                            padding-bottom: 0;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        &.quantum-well-dopant {
            .pui-dialog_content {
                width: 274px;
                min-width: 0px;
                .pui-dialog_container {
                    position: relative;
                    .form {
                        box-sizing: border-box;
                        .form-item {
                            display: flex;
                            align-items: center;
                            justify-content: space-between;
                            margin-bottom: 12px;
                            .label {
                                padding-bottom: 0;
                            }
                        }
                    }
                }
            }
        }
        &.quantum-well-depth {
            .pui-dialog_content {
                width: 274px;
                min-width: 0px;
                .pui-dialog_container {
                    position: relative;
                    .form {
                        box-sizing: border-box;
                        .form-item {
                            display: flex;
                            align-items: center;
                            justify-content: space-between;
                            margin-bottom: 12px;
                            .label {
                                padding-bottom: 0;
                            }
                        }
                    }
                }
            }
        }
        &.quantum-well-material {
            .pui-dialog_content {
                width: 464px;
                .pui-dialog_container {
                    padding: 0;
                    position: relative;
                    margin-top: 0;
                    .content {
                        display: flex;
                        justify-content: space-between;
                        align-items: flex-start;
                        padding: 0px 16px;
                        box-sizing: border-box;
                        .title {
                            margin-bottom: 10px;
                        }
                        .form {
                            border: 1px solid $border-light;
                            border-radius: 4px;
                            padding: 18px 12px;
                            box-sizing: border-box;
                            .form-item {
                                display: flex;
                                align-items: center;
                                justify-content: space-between;
                                margin-bottom: 12px;
                                .label {
                                    padding-bottom: 0;
                                }
                            }
                        }
                        .material-library {
                            width: 160px;
                            .read {
                                margin-bottom: 7px;
                                .pui-input {
                                    width: 100%;
                                    outline: none;
                                }
                            }
                            .form {
                                height: 265px;
                                padding: 0;
                                .list {
                                    .item {
                                        padding: 5px;
                                        box-sizing: border-box;
                                        cursor: pointer;
                                        &:hover {
                                            background-color: $primary-fill;
                                            color: #fff;
                                        }
                                        &.active {
                                            background-color: $primary-fill;
                                            color: #fff;
                                        }
                                    }
                                }
                            }
                        }
                        .material-component {
                            width: 254px;
                            .form {
                                height: 302px;
                            }
                        }
                    }
                }
            }
        }
        &.input-signal {
            .pui-dialog {
                .pui-dialog_content {
                    width: 274px;
                    min-width: 0px;
                    .pui-dialog_container {
                        padding: 0;
                        position: relative;
                        margin-top: 0;
                        .form {
                            border-radius: 4px;
                            padding: 0 16px;
                            box-sizing: border-box;
                            .form-item {
                                display: flex;
                                align-items: center;
                                justify-content: space-between;
                                margin-bottom: 12px;
                                .label {
                                    padding-bottom: 0;
                                }
                            }
                        }
                    }
                }
            }
        }
        &.optical-parameter {
            .pui-dialog {
                .pui-dialog_content {
                    width: 558px;
                    .pui-dialog_container {
                        .content {
                            display: flex;
                            justify-content: space-between;
                            align-items: flex-start;
                            box-sizing: border-box;
                            .title {
                                margin-bottom: 10px;
                            }
                            .form {
                                border: 1px solid $border-light;
                                border-radius: 4px;
                                padding: 18px 12px;
                                box-sizing: border-box;
                                height: 100%;
                                .form-item {
                                    display: flex;
                                    align-items: center;
                                    justify-content: space-between;
                                    &.column {
                                        flex-direction: column;
                                        align-items: flex-start;
                                        justify-content: flex-start;
                                        .box {
                                            width: 100%;
                                            display: flex;
                                            justify-content: flex-start;
                                            align-items: center;
                                            box-sizing: border-box;
                                            .pui-input {
                                                flex: 1;
                                                flex-shrink: 0;
                                                &+.pui-input {
                                                    margin-left: 10px;
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                            .optical {
                                flex-shrink: 0;
                                width: 254px;
                            }
                            .model {
                                flex-shrink: 0;
                                width: 254px;
                            }
                        }
                    }
                }
            }
        }
        .form {
            .form-item {
                &:not(:last-child) {
                    margin-bottom: 20px;
                }
                .label {
                    font-size: 12px;
                    color: $text-font_light;
                    padding-bottom: 6px;
                }
                .pui-input {
                    outline: none;
                    input {
                        height: 95%;
                    }
                }
                .pui-selector {
                    .pui-popper {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        .inline-block {
                            >div {
                                font-size: 0px!important;
                            }
                        }
                        .popper {
                            // width: 100%;
                        }
                    }
                }
            }
        }
        &.source-form {
            .form {
                .form-item {
                    display: flex;
                    justify-content: flex-start;
                    align-items: center;
                    .label {
                        flex-shrink: 0;
                        width: 100px;
                    }
                    .form-content {
                        flex: 1;
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        margin-left: 10px;
                        .pui-input {
                            flex: 1;
                            flex-shrink: 0;
                        }
                        >*+* {
                            margin-left: 10px;
                        }
                    }
                }
            }
        }
    }
}